Extension point widgets
In component org.nuxeo.ecm.platform.forms.layout.LayoutStore
Contribution Descriptors
- Class: org.nuxeo.ecm.platform.forms.layout.descriptors.WidgetDescriptor
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore"> <!-- Generic widgets: name = diff property type, see: org.nuxeo.ecm.diff.model.PropertyType --> <widget name="string" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">text</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="boolean" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">checkbox</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="date" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">datetime</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="integer" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">int</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="long" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">int</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="double" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="widgetType">double</property> <property name="template"> /widgets/generic_diff_widget_template.xhtml </property> </properties> </widget> <widget name="content" type="file"> <categories> <category>diff</category> </categories> </widget> <widget name="complex" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="display">inline</property> <property name="template"> /widgets/complex_diff_widget_template.xhtml </property> </properties> </widget> <widget name="scalarList" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="display">inline</property> <property name="displayAllItems">false</property> <property name="displayItemIndexes">true</property> <property name="template"> /widgets/list_diff_widget_template.xhtml </property> </properties> </widget> <widget name="contentList" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="display">inline</property> <property name="displayAllItems">false</property> <property name="displayItemIndexes">true</property> <property name="template"> /widgets/list_diff_widget_template.xhtml </property> </properties> </widget> <widget name="complexList" type="list"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="display">inline</property> <property name="displayAllItems">false</property> <property name="displayItemIndexes">true</property> <property name="template"> /widgets/list_diff_widget_template.xhtml </property> </properties> </widget> <widget name="contentDiffLinks" type="template"> <categories> <category>diff</category> </categories> <properties mode="any"> <property name="template"> /widgets/content_diff_links_widget_template.xhtml </property> </properties> </widget> <!-- Specific widgets: name = property xpath --> <widget name="dublincore:created" type="datetime"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.created</label> </labels> <translated>true</translated> <properties widgetMode="any"> <property name="pattern">#{nxu:basicDateAndTimeFormatter()} </property> </properties> </widget> <widget name="dublincore:modified" type="datetime"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.modified</label> </labels> <translated>true</translated> <properties widgetMode="any"> <property name="pattern">#{nxu:basicDateAndTimeFormatter()} </property> </properties> </widget> <widget name="dublincore:issued" type="datetime"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.issueDate</label> </labels> <translated>true</translated> <properties widgetMode="any"> <property name="pattern">#{nxu:basicDateAndTimeFormatter()} </property> </properties> </widget> <widget name="dublincore:valid" type="datetime"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.validationDate</label> </labels> <translated>true</translated> <properties widgetMode="any"> <property name="pattern">#{nxu:basicDateAndTimeFormatter()} </property> </properties> </widget> <widget name="dublincore:expired" type="datetime"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.expired</label> </labels> <translated>true</translated> <properties widgetMode="any"> <property name="pattern">#{nxu:basicDateAndTimeFormatter()} </property> </properties> </widget> <widget name="note:note" type="richtext_with_mimetype"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.note.note</label> </labels> <translated>true</translated> <properties mode="any"> <property name="translatedHtml"> #{noteActions.translateImageLinks(field_0)} </property> <property name="cssClass">note_content_block</property> </properties> </widget> <widget name="file:content" type="file"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.summary.download.file</label> </labels> <translated>true</translated> </widget> <widget name="files:files" type="list"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.summary.download.attachments</label> </labels> <translated>true</translated> <properties mode="any"> <property name="display">inline</property> <property name="displayAllItems">false</property> <property name="displayItemIndexes">true</property> <property name="template"> /widgets/list_diff_widget_template.xhtml </property> </properties> </widget> <widget name="dublincore:nature" type="selectOneDirectory"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.nature</label> </labels> <translated>true</translated> <properties mode="any"> <property name="directoryName">nature</property> <property name="localize">true</property> <property name="ordering">ordering,label</property> </properties> </widget> <widget name="dublincore:subjects/item" type="template"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.subjects.item</label> </labels> <translated>true</translated> <properties mode="any"> <property name="template">/widgets/subjects_item_widget_template.xhtml </property> </properties> </widget> <widget name="dublincore:coverage" type="template"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.coverage</label> </labels> <translated>true</translated> <properties mode="any"> <property name="template">/widgets/coverage_widget.xhtml </property> </properties> </widget> <widget name="dublincore:contributors/item" type="template"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.contributors.item</label> </labels> <translated>true</translated> <properties mode="any"> <property name="template">/widgets/contributors_item_widget_template.xhtml </property> </properties> </widget> <widget name="dublincore:lastContributor" type="template"> <categories> <category>diff</category> </categories> <labels> <label mode="any">label.dublincore.lastContributor</label> </labels> <translated>true</translated> <properties mode="any"> <property name="template"> /widgets/single_user_widget_template.xhtml </property> </properties> </widget> </extension>
-
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore"> <widget name="select2_idProperty" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Id Property</label> </labels> <helpLabels> <label mode="any"> Name of the Document property that should be used to define the ID of entry. If unset Document.uid will be used, otherwise Document.properties['idProperty']. </label> </helpLabels> <fields> <field>idProperty</field> </fields> </widget> <widget name="select2_idFunction" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Id Function</label> </labels> <helpLabels> <label mode="any"> Name of the JavaScript function that will be called by select2 to get the id from the suggested objects. The target function should take as input the javascript object as returned by Automation and should return the id to be submitted. Use the "Inline Javascript" property field to define your own function. </label> </helpLabels> <fields> <field>idFunction</field> </fields> </widget> <widget name="select2_labelProperty" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Label Property</label> </labels> <helpLabels> <label mode="any"> Name of the Document property that should be used to define the Label of entry. If unset Document.title will be used, otherwise Document.properties['labelProperty']. </label> </helpLabels> <fields> <field>labelProperty</field> </fields> </widget> <widget name="select2_operationId" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Operation Id</label> </labels> <helpLabels> <label mode="any"> ID of the Automation Operation that will be used to fetch the suggestions. If unsed, Document.PageProvider will be used. </label> </helpLabels> <fields> <field>operationId</field> </fields> </widget> <widget name="select2_initOperationId" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Init Operation Id</label> </labels> <helpLabels> <label mode="any"> ID of the Automation Operation that will be used to fetch the initial Document from the stored value.. If unsed, simple uid resolution will be used. </label> </helpLabels> <fields> <field>initOperationId</field> </fields> </widget> </extension>
-
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore"> <widget name="escape" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Escape</label> </labels> <helpLabels> <label mode="any"> If set to false, the held value will not be escaped. For instance if it contains HTML tags, they will be rendered as part of the rendered HTML page instead of being rendered as text content. Defaults to true. </label> </helpLabels> <fields> <field>escape</field> </fields> <selectOptions> <option itemLabel="Yes (default value)" itemValue="true"/> <option itemLabel="No" itemValue="false"/> </selectOptions> </widget> <widget name="style" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style</label> </labels> <fields> <field>style</field> </fields> </widget> <widget name="styleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style class</label> </labels> <fields> <field>styleClass</field> </fields> </widget> <widget name="subStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Sub style class</label> </labels> <fields> <field>subStyleClass</field> </fields> </widget> <widget name="subItemStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Sub item style class</label> </labels> <fields> <field>subItemStyleClass</field> </fields> </widget> <widget name="title" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Title</label> </labels> <fields> <field>title</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="view_reference">view</mode> </widgetModes> </widget> <widget name="text_localize" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Localize</label> </labels> <helpLabels> <label mode="any"> If set to true, the held value will be translated. This property cannot be an EL expression, it will only resolve literal values 'true' or 'false'. Defaults to false. Available since 5.5. </label> </helpLabels> <fields> <field>localize</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> </widget> <widget name="accesskey" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Access key</label> </labels> <fields> <field>accesskey</field> </fields> </widget> <widget name="alt" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Alt</label> </labels> <fields> <field>alt</field> </fields> </widget> <widget name="dir" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Direction</label> </labels> <fields> <field>dir</field> </fields> <selectOptions> <option itemLabel="" itemValue=""/> <option itemLabel="Left to right" itemValue="LTR"/> <option itemLabel="Right to left" itemValue="RTL"/> </selectOptions> </widget> <widget name="placeholder" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Placeholder</label> </labels> <helpLabels> <label mode="any"> String representing a short hint (a word or short phrase) intended to aid the user with data entry. </label> </helpLabels> <fields> <field>placeholder</field> </fields> </widget> <widget name="disabled" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Disabled</label> </labels> <fields> <field>disabled</field> </fields> </widget> <widget name="immediate" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Immediate</label> </labels> <fields> <field>immediate</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="view_reference">view</mode> </widgetModes> </widget> <widget name="lang" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Lang</label> </labels> <fields> <field>lang</field> </fields> </widget> <widget name="maxlength" type="int"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Max length</label> </labels> <fields> <field>maxlength</field> </fields> </widget> <widget name="required" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Required</label> </labels> <fields> <field>required</field> </fields> </widget> <widget name="size" type="int"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Size</label> </labels> <fields> <field>size</field> </fields> </widget> <widget name="validator" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Validator</label> </labels> <fields> <field>validator</field> </fields> </widget> <widget name="valueChangeListener" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Value change listener</label> </labels> <fields> <field>valueChangeListener</field> </fields> </widget> <widget name="redisplay" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Redisplay</label> </labels> <fields> <field>redisplay</field> </fields> </widget> <widget name="textarea_cols" type="int"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Number of columns</label> </labels> <fields> <field>cols</field> </fields> </widget> <widget name="textarea_rows" type="int"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Number of rows</label> </labels> <fields> <field>rows</field> </fields> </widget> <widget name="datetime_pattern" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Pattern</label> </labels> <helpLabels> <label mode="any"> String pattern for the date and time, as described by the java.text.SimpleDateFormat class, and as used in the standard DateTimeConverter. Default value is "dd/MM/yyyy HH:mm". Sample value: "#{nxu:basicDateFormatter()}" or "#{nxu:basicDateAndTimeFormatter()}". </label> </helpLabels> <fields> <field>pattern</field> </fields> </widget> <widget name="datetime_timeZone" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Time zone</label> </labels> <helpLabels> <label mode="any"> String timeZone ID. The server time zone is used if not set. </label> </helpLabels> <fields> <field>timeZone</field> </fields> </widget> <widget name="datetime_format" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Format</label> </labels> <helpLabels> <label mode="any"> String format for the date and time, as described by the java.text.SimpleDateFormat class, and as used in the standard DateTimeConverter. Default value is "dd/MM/yyyy HH:mm". Sample value: "#{nxu:basicDateFormatter()}" or "#{nxu:basicDateAndTimeFormatter()}". </label> </helpLabels> <fields> <field>format</field> </fields> </widget> <widget name="datetime_locale" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Locale</label> </labels> <helpLabels> <label mode="any"> String representing the locale to use for the calendar. Current locale is used if not set. </label> </helpLabels> <fields> <field>locale</field> </fields> <selectOptions> <option itemLabel="" itemValue=""/> <option itemLabel="Catalan" itemValue="ca"/> <option itemLabel="Chinese" itemValue="cn"/> <option itemLabel="Czech" itemValue="cz"/> <option itemLabel="Deutsch" itemValue="de"/> <option itemLabel="English" itemValue="en"/> <option itemLabel="Spanish" itemValue="es"/> <option itemLabel="French" itemValue="fr"/> <option itemLabel="Italiano" itemValue="it"/> <option itemLabel="Japanese" itemValue="jp"/> <option itemLabel="Nederlands" itemValue="nl"/> <option itemLabel="Polish" itemValue="pl"/> <option itemLabel="Portuguese" itemValue="pt"/> <option itemLabel="Romanian" itemValue="ro"/> <option itemLabel="Russian" itemValue="ru"/> <option itemLabel="svenska" itemValue="sv"/> </selectOptions> </widget> <widget name="datetime_showsTime" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Shows time</label> </labels> <helpLabels> <label mode="any"> Flag indicating that the calendar must show a time choice. Since 5.4.2, this property is ignored and time is shown depending on the date format. </label> </helpLabels> <fields> <field>showsTime</field> </fields> </widget> <widget name="datetime_timeZone" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Time zone</label> </labels> <helpLabels> <label mode="any"> String timeZone ID. The server time zone is used if not set. </label> </helpLabels> <fields> <field>timeZone</field> </fields> </widget> <widget name="datetime_triggerImg" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Trigger image</label> </labels> <helpLabels> <label mode="any"> Image path to use for the trigger. Available since 5.4. </label> </helpLabels> <fields> <field>triggerImg</field> </fields> </widget> <widget name="datetime_triggerLabel" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Trigger label</label> </labels> <helpLabels> <label mode="any"> Label to display on the trigger image. Defaults to "...". </label> </helpLabels> <fields> <field>triggerLabel</field> </fields> </widget> <widget name="datetime_triggerStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Trigger style class</label> </labels> <helpLabels> <label mode="any"> Style class to set on the trigger button tag, defaults to 'calendarTrigger'. </label> </helpLabels> <fields> <field>triggerStyleClass</field> </fields> </widget> <widget name="file_downloadLabel" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Download label</label> </labels> <helpLabels> <label mode="any"> Value binding that will be used as the download link value, and will attempt to be translated. </label> </helpLabels> <fields> <field>downloadLabel</field> </fields> </widget> <widget name="file_iconRendered" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Icon rendered</label> </labels> <helpLabels> <label mode="any"> Boolean flag indicating whether or not the file icon should be rendered. Defaults to true. </label> </helpLabels> <fields> <field>iconRendered</field> </fields> <selectOptions> <option itemLabel="Yes (default value)" itemValue="true"/> <option itemLabel="No" itemValue="false"/> </selectOptions> </widget> <widget name="htmltext_disableHtmlInit" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Disable HTML init</label> </labels> <helpLabels> <label mode="any"> If set to true, the default display will be the text display (not html editor). Available since 5.3.1. </label> </helpLabels> <fields> <field>disableHtmlInit</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="view_reference">view</mode> </widgetModes> </widget> <widget name="htmltext_width" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Width</label> </labels> <helpLabels> <label mode="any"> The textarea width. Defaults to "640". Give the exact size in pixels or percentage. </label> </helpLabels> <fields> <field>width</field> </fields> </widget> <widget name="htmltext_height" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Height</label> </labels> <helpLabels> <label mode="any"> The textarea height. Defaults to "400". Give the exact size in pixels or percentage. </label> </helpLabels> <fields> <field>height</field> </fields> </widget> <widget name="htmltext_editorSelector" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Editor selector</label> </labels> <helpLabels> <label mode="any"> The class to use to identify text areas to turn into html editors. Defaults to "mceEditor". See the editor_selector option in tiny_mce (http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/editor_selector). </label> </helpLabels> <fields> <field>editorSelector</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="view_reference">view</mode> </widgetModes> </widget> <widget name="directoryName" type="selectOneResource"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Vocabulary</label> </labels> <fields> <field>directoryName</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> <properties mode="any"> <property name="resourceName">vocabularies</property> </properties> <properties widgetMode="any"> <property name="required">true</property> </properties> </widget> <widget name="directoryNameDemoPreview" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Vocabulary</label> </labels> <fields> <field>directoryName</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="edit_demo_preview">view</mode> </widgetModes> <properties widgetMode="any"> <property name="required">true</property> </properties> </widget> <widget name="directory_localize" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Localize</label> </labels> <helpLabels> <label mode="any"> Activate localization of vocabulary labels. Labels are translated as usual picking values in messages*.properties files. Database localizatioàn should also be activated if localized labels are provided by the vocabulary itself. </label> </helpLabels> <fields> <field>localize</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> </widget> <widget name="directory_dbl10n" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Activate database localization</label> </labels> <helpLabels> <label mode="any"> Activate retrieval of localized labels in the vocabulary database, when translations are held by the directory itself, in fields with a label_[lang] pattern, and defaulting to label_en. Available since 6.0. </label> </helpLabels> <fields> <field>dbl10n</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> </widget> <widget name="directory_displayIdAndLabel" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Display id and label</label> </labels> <fields> <field>displayIdAndLabel</field> </fields> </widget> <widget name="directory_style" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style</label> </labels> <fields> <field>style</field> </fields> </widget> <widget name="directory_cssStyle" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style</label> </labels> <fields> <field>cssStyle</field> </fields> </widget> <widget name="directory_cssStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style class</label> </labels> <fields> <field>cssStyleClass</field> </fields> </widget> <widget name="directory_styleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style class</label> </labels> <fields> <field>styleClass</field> </fields> </widget> <widget name="directory_displayObsoleteEntries" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Display obsolete entries</label> </labels> <fields> <field>displayObsoleteEntries</field> </fields> </widget> <widget name="directory_notDisplayDefaultOption" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Do not display the default option</label> </labels> <helpLabels> <label mode="any"> True if there should not be displayed a "Please select a value" option </label> </helpLabels> <fields> <field>notDisplayDefaultOption</field> </fields> </widget> <widget name="directory_ordering" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Sort criterion</label> </labels> <fields> <field>ordering</field> </fields> <selectOptions> <option itemLabel="Label (default)" itemValue="label"/> <option itemLabel="Ordering" itemValue="ordering"/> <option itemLabel="Id" itemValue="id"/> </selectOptions> </widget> <widget name="complex_subwidgets_display" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Display</label> </labels> <helpLabels> <label mode="any"> The display attribute controls the rendering of subwidgets. Available since 5.4.2. </label> </helpLabels> <fields> <field>display</field> </fields> <selectOptions> <!-- block-like renderings available since 5.6 --> <option itemLabel="Block (label on the left, default)" itemValue="block_left"/> <option itemLabel="Block (label on top)" itemValue="block_top"/> <option itemLabel="Table" itemValue="table"/> <option itemLabel="In line" itemValue="inline"/> </selectOptions> </widget> <widget name="list_subwidgets_display" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Display</label> </labels> <helpLabels> <label mode="any"> The display attribute controls the rendering of subwidgets. Available since 5.4.2. </label> </helpLabels> <fields> <field>display</field> </fields> <selectOptions> <option itemLabel="Block (label on the left, default)" itemValue="block_left"/> <option itemLabel="Block (label on top)" itemValue="block_top"/> <option itemLabel="Table" itemValue="table"/> <option itemLabel="In line" itemValue="inline"/> </selectOptions> </widget> <widget name="subwidgets_hideSubLabels" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Hide subwidgets labels</label> </labels> <helpLabels> <label mode="any"> This attribute controls the rendering of subwidgets labels. Available since 5.4.2. </label> </helpLabels> <fields> <field>hideSubLabels</field> </fields> </widget> <widget name="list_diff" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Diff</label> </labels> <fields> <field>diff</field> </fields> </widget> <widget name="list_orderable" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Orderable</label> </labels> <helpLabels> <label mode="any"> This attribute controls the possibility to order the items. Available since 5.5. </label> </helpLabels> <fields> <field>orderable</field> </fields> </widget> <widget name="list_hideDeleteButton" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Hide delete button</label> </labels> <helpLabels> <label mode="any"> This attribute controls the possibility to remove the 'delete' button for each list item. Available since 5.6. </label> </helpLabels> <fields> <field>hideDeleteButton</field> </fields> </widget> <widget name="list_hideAddButton" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Hide add button</label> </labels> <helpLabels> <label mode="any"> This attribute controls the possibility to remove the 'add' button to add an item to the list. Available since 5.6. </label> </helpLabels> <fields> <field>hideAddButton</field> </fields> </widget> <widget name="list_listTemplateItem" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">List template item</label> </labels> <helpLabels> <label mode="any"> This attribute enables to control the template for each item that needs to be added to the list. In most common cases, this value is deduced from the field definition, using the expression: #{nxd:propertyDefaultValue(widget.fieldDefinitions[0].propertyName)}. This needs to be adapted for subwidgets (when handling lists of lists for instance) or when using this widget on another object that a DocumentModel property. For instance, for a subwidget, you can use: #{nxd:propertyDefaultValue('mySchema:listOfLists/stringListItem')}. Available since 5.6. </label> </helpLabels> <fields> <field>listTemplateItem</field> </fields> </widget> <widget name="container_subwidgets_display" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Display</label> </labels> <helpLabels> <label mode="any"> The display attribute controls the rendering of subwidgets. </label> </helpLabels> <fields> <field>display</field> </fields> <selectOptions> <option itemLabel="Block (label on the left, default)" itemValue="block_left"/> <option itemLabel="Block (label on top)" itemValue="block_top"/> <option itemLabel="Table" itemValue="table"/> <option itemLabel="In line" itemValue="inline"/> </selectOptions> </widget> <widget name="container_subwidgets_hideSubLabels" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Hide subwidgets labels</label> </labels> <helpLabels> <label mode="any"> This attribute controls the rendering of subwidgets labels. </label> </helpLabels> <fields> <field>hideSubLabels</field> </fields> </widget> <widget name="widgetsDisplay" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Widgets Display</label> </labels> <helpLabels> <label mode="any"> The display attribute controls the rendering of widgets. </label> </helpLabels> <fields> <field>widgetsDisplay</field> </fields> <selectOptions> <option itemLabel="Label on the left (default)" itemValue="label_left"/> <option itemLabel="Label on top" itemValue="label_top"/> <option itemLabel="No Label" itemValue="no_label"/> </selectOptions> </widget> <widget name="select_layout" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Layout</label> </labels> <helpLabels> <label mode="any"> The select layout binding. </label> </helpLabels> <fields> <field>layout</field> </fields> <selectOptions> <option itemLabel="Line direction (default)" itemValue=""/> <option itemLabel="Page direction" itemValue="pageDirection"/> <option itemLabel="Line direction" itemValue="lineDirection"/> </selectOptions> </widget> <widget name="select_selectOptions" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Select Options</label> </labels> <helpLabels> <label mode="any"> The select options binding. </label> </helpLabels> <fields> <field>selectOptions</field> </fields> <widgetModes> <mode value="any">hidden</mode> <mode value="edit_demo_preview">hidden</mode> <mode value="view_reference">view</mode> </widgetModes> </widget> <widget name="select_var" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Variable</label> </labels> <helpLabels> <label mode="any"> The variable name for select options expressions resolution. Usually defaults to 'item'. </label> </helpLabels> <fields> <field>var</field> </fields> </widget> <widget name="select_itemLabel" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Item label</label> </labels> <helpLabels> <label mode="any"> Expression referencing the variable name to display the option label. </label> </helpLabels> <fields> <field>itemLabel</field> </fields> </widget> <widget name="select_itemValue" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Item label</label> </labels> <helpLabels> <label mode="any"> Expression referencing the variable name to display the option id. </label> </helpLabels> <fields> <field>itemValue</field> </fields> </widget> </extension>
-
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore"> <widget name="actions_headerStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Header style class</label> </labels> <helpLabels> <label mode="any"> Style class for the header, displaying this widget label. </label> </helpLabels> <fields> <field>headerStyleClass</field> </fields> </widget> <widget name="actions_styleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Style class</label> </labels> <helpLabels> <label mode="any"> Style class for the global container div. </label> </helpLabels> <fields> <field>styleClass</field> </fields> </widget> <widget name="actions_actionStyleClass" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Action style class</label> </labels> <helpLabels> <label mode="any"> Style class for each action link. </label> </helpLabels> <fields> <field>actionStyleClass</field> </fields> </widget> <widget name="actions_addForm" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Add form</label> </labels> <helpLabels> <label mode="any"> If set to true, actions will be surrounded by a form, so there should be no other surrounding form. This property is useful when fancybox actions need to open a popup in another form. Available since 5.7, defaults to false. </label> </helpLabels> <fields> <field>addForm</field> </fields> </widget> <widget name="actions_useAjaxForm" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Use ajax actions</label> </labels> <helpLabels> <label mode="any"> If set to true, actions will be performed using ajax. Note that sometimes, selection actions will require you to reload the whole page for other elements than the content view to be re-rendered, so using ajax will not be user friendly in these cases. Available from 5.7, defaults to false. </label> </helpLabels> <fields> <field>useAjaxForm</field> </fields> </widget> <widget name="actions_disableFiltered" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Disable filtered actions</label> </labels> <helpLabels> <label mode="any"> If set to true, actions will appear as disabled if they are supposed to be filtered (instead of not being displayed at all). Available from 5.7, defaults to false. </label> </helpLabels> <fields> <field>disableFiltered</field> </fields> </widget> <widget name="actions_category" type="selectOneResource"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Category</label> </labels> <helpLabels> <label mode="any"> The category of actions to use. </label> </helpLabels> <fields> <field>category</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> <properties widgetMode="edit"> <property name="required">true</property> </properties> <properties mode="any"> <property name="resourceName">actionCategories</property> </properties> </widget> <widget name="tabs_category" type="selectOneResource"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Category</label> </labels> <helpLabels> <label mode="any"> The category of tabs to use. </label> </helpLabels> <fields> <field>category</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> <properties widgetMode="edit"> <property name="required">true</property> </properties> <properties mode="any"> <property name="resourceName">tabCategories</property> </properties> </widget> <widget name="actions_actionId" type="selectOneResource"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Action</label> </labels> <helpLabels> <label mode="any"> The action to display. </label> </helpLabels> <fields> <field>actionId</field> </fields> <widgetModes> <mode value="edit_demo_preview">hidden</mode> </widgetModes> <properties widgetMode="edit"> <property name="required">true</property> </properties> <properties mode="any"> <property name="resourceName">actions</property> </properties> </widget> <widget name="actions_overallDisplay" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Overall display</label> </labels> <helpLabels> <label mode="any"> Overall display of actions. </label> </helpLabels> <fields> <field>overallDisplay</field> </fields> <selectOptions> <option itemLabel="Vertical block (default)" itemValue=""/> <option itemLabel="Horizontal block" itemValue="horizontal_block"/> <option itemLabel="Menu" itemValue="menu"/> <option itemLabel="Rollover menu" itemValue="rollover_menu"/> </selectOptions> </widget> <widget name="tabs_overallDisplay" type="selectOneListbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Overall display</label> </labels> <helpLabels> <label mode="any"> Overall display of tabs. </label> </helpLabels> <fields> <field>overallDisplay</field> </fields> <selectOptions> <option itemLabel="Horizontal block (default)" itemValue=""/> <option itemLabel="Vertical block" itemValue="vertical_block"/> </selectOptions> </widget> <widget name="tabs_hideSingleTab" type="checkbox"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Hide single tab</label> </labels> <helpLabels> <label mode="any"> Boolean stating if the tabs bar should be hidden in case there is only one tab. Defaults to false, available since 6.0. </label> </helpLabels> <fields> <field>hideSingleTab</field> </fields> </widget> <widget name="actions_maxActionsNumber" type="int"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Maximum number of actions</label> </labels> <helpLabels> <label mode="any"> Integer indicating the maximum number of actions to display. When this limit is reached, other actions are displayed in a menu. </label> </helpLabels> <fields> <field>maxActionsNumber</field> </fields> </widget> <widget name="actions_moreMenuLabel" type="text"> <categories> <category>widgetTypeConf</category> </categories> <labels> <label mode="any">Label for the "more" menu</label> </labels> <fields> <field>moreMenuLabel</field> </fields> </widget> </extension>
-
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.LayoutStore"> <widget name="label" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Label</label> </labels> <helpLabels> <label mode="any"> The action label. </label> </helpLabels> <fields> <field>label</field> </fields> </widget> <widget name="icon" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">icon</label> </labels> <helpLabels> <label mode="any"> The action icon path. Example: "/icons/contextual_menu/share.png". </label> </helpLabels> <fields> <field>icon</field> </fields> </widget> <!-- not used as of 5.7.3 --> <widget name="help" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">help</label> </labels> <helpLabels> <label mode="any"> The action help, displayed in a tooltip. </label> </helpLabels> <fields> <field>help</field> </fields> </widget> <!-- not used as of 5.7.3 --> <widget name="accessKey" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">accessKey</label> </labels> <helpLabels> <label mode="any"> The action access key. </label> </helpLabels> <fields> <field>accessKey</field> </fields> </widget> <widget name="immediate" type="checkbox"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Immediate</label> </labels> <helpLabels> <label mode="any"> Boolean stating if the action is immediate (called during JSF "apply request value" phase instead of the "process validations" phase), useful for "cancel" buttons that should not issue a validation error for required fields. </label> </helpLabels> <fields> <field>immediate</field> </fields> </widget> <widget name="ajaxReRender" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Ajax reRender</label> </labels> <helpLabels> <label mode="any"> Ajax rerender ids, separated by commas, used in combination with the "ajaxSupport" property. </label> </helpLabels> <fields> <field>ajaxReRender</field> </fields> </widget> <widget name="ajaxSupport" type="checkbox"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Ajax support</label> </labels> <helpLabels> <label mode="any"> Boolean stating if the action supports ajax. Mandatory for this action to be ajaxified when caller asks for an ajax form to be used. Default value depends on the action type policy. </label> </helpLabels> <fields> <field>ajaxSupport</field> </fields> </widget> <widget name="styleClass" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Style class</label> </labels> <helpLabels> <label mode="any"> The action style class. </label> </helpLabels> <fields> <field>styleClass</field> </fields> </widget> <widget name="target" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Target</label> </labels> <helpLabels> <label mode="any"> The action target, for instance "_blank". </label> </helpLabels> <fields> <field>target</field> </fields> </widget> <widget name="onclick" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Onclick</label> </labels> <helpLabels> <label mode="any"> Javascript code to call when clicking on the action. </label> </helpLabels> <fields> <field>onclick</field> </fields> </widget> <widget name="confirm" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Confirm</label> </labels> <helpLabels> <label mode="any"> Javascript confirmation code, called when clicking on the action. </label> </helpLabels> <fields> <field>confirm</field> </fields> </widget> <widget name="confirmMessage" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Confirm message</label> </labels> <helpLabels> <label mode="any"> Alternative to the "confirm" property, only stating the confirmation message, that can be a message to translate. </label> </helpLabels> <fields> <field>confirmMessage</field> </fields> </widget> <widget name="confirmMessageArgs" type="list"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Confirm message arguments</label> </labels> <fields> <field>confirmMessageArgs</field> </fields> <helpLabels> <label mode="any"> Confirm message arguments, referenced by the confirm message translation in messages.properties files. </label> </helpLabels> <properties widgetMode="any"> <property name="hideSubLabels">true</property> </properties> <subWidgets> <widget name="messageArg" type="text"> <fields> <field/> </fields> <labels> <label mode="any"/> </labels> </widget> </subWidgets> </widget> <widget name="fancybox_include" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Include</label> </labels> <helpLabels> <label mode="any"> The template path to show as the fancybox content (ignored if property "iframe" is filled). If this template holds a form, it should be using the variable "fancyboxFormId" as its form id for the fancybox to be reopened on validation error. Example: "/incl/bulk_edit_box.xhtml" </label> </helpLabels> <fields> <field>include</field> </fields> </widget> <widget name="fancybox_iframe" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Iframe</label> </labels> <helpLabels> <label mode="any"> URL to display as the fancybox content. Example: "#{previewActions.getCurrentDocumentPreviewPopupURL()}" </label> </helpLabels> <fields> <field>iframe</field> </fields> </widget> <widget name="fancybox_width" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Width</label> </labels> <helpLabels> <label mode="any"> The fancybox width, defaults to "90%". </label> </helpLabels> <fields> <field>width</field> </fields> </widget> <widget name="fancybox_height" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Height</label> </labels> <helpLabels> <label mode="any"> The fancybox height, defaults to "90%". </label> </helpLabels> <fields> <field>height</field> </fields> </widget> <widget name="fancybox_scrolling" type="selectOneListbox"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Scrolling</label> </labels> <helpLabels> <label mode="any"> The fancybox scrolling behaviour, used to create or hide scrollbars. Defaults to "auto", also accepts 'yes' or 'no'. </label> </helpLabels> <fields> <field>scrolling</field> </fields> <selectOptions> <option itemLabel="Auto (default)" itemValue=""/> <option itemLabel="Yes" itemValue="yes"/> <option itemLabel="No" itemValue="no"/> </selectOptions> </widget> <widget name="fancybox_autoScale" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Auto scale</label> </labels> <helpLabels> <label mode="any"> The boolean value stating if the fancybox is scaled to fit in viewport. Defaults to "true". </label> </helpLabels> <fields> <field>autoScale</field> </fields> </widget> <widget name="fancybox_autoDimensions" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Auto dimensions</label> </labels> <helpLabels> <label mode="any"> The boolean value stating if the fancybox is resized when the view is changed by ajax actions for instance. Defaults to "true". The fancybox should have dimensions for this to work properly. </label> </helpLabels> <fields> <field>autoDimensions</field> </fields> </widget> <widget name="fancybox_modal" type="checkbox"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Modal</label> </labels> <fields> <field>modal</field> </fields> <helpLabels> <label mode="any"> The boolean value stating if the fancybox is modal and cannot be closed when using the escape button, for instance. Defaults to "false". </label> </helpLabels> </widget> <widget name="fancybox_centerOnScroll" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">centerOnScroll</label> </labels> <helpLabels> <label mode="any"> The boolean value stating if the fancybox is centered while scrolling the page. Defaults to "true". </label> </helpLabels> <fields> <field>centerOnScroll</field> </fields> </widget> <widget name="fancybox_enableEscapeButton" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">enableEscapeButton</label> </labels> <helpLabels> <label mode="any"> The boolean value stating if the fancybox is closed when pressing the escape key. Defaults to "true". </label> </helpLabels> <fields> <field>enableEscapeButton</field> </fields> </widget> <widget name="fancybox_onClosed" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">onClosed</label> </labels> <helpLabels> <label mode="any"> Javascript code to call when the fancybox is closed. Available since 6.0. </label> </helpLabels> <fields> <field>onClosed</field> </fields> </widget> <widget name="rest_document_link_view" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">View</label> </labels> <helpLabels> <label mode="any"> Specific view to use for the rest document link. Available since 6.0. </label> </helpLabels> <fields> <field>view</field> </fields> </widget> <widget name="rest_document_link_pattern" type="text"> <categories> <category>actionWidgetTypeConf</category> </categories> <labels> <label mode="any">Pattern</label> </labels> <helpLabels> <label mode="any"> Specific pattern to use for the rest document link. Available since 6.0. </label> </helpLabels> <fields> <field>pattern</field> </fields> </widget> </extension>